<?php /* Smarty version 2.6.26, created on 2011-06-18 10:56:01
         compiled from original/clientssummary.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'urlencode', 'original/clientssummary.tpl', 112, false),)), $this); ?>
<div style="font-size:18px;">#<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
 - <?php echo $this->_tpl_vars['clientsdetails']['firstname']; ?>
 <?php echo $this->_tpl_vars['clientsdetails']['lastname']; ?>
</div>
<img src="images/spacer.gif" width="1" height="6" /><br />

<table width=100%>
<tr><td width=34% valign=top>

<table width="250" class="form">
<tr><td colspan="2" class="fieldarea" style="text-align:center;"><strong>Client Information</strong></td></tr>
<tr><td width="90" class="fieldlabel">First Name</td><td class="fieldarea"><?php echo $this->_tpl_vars['clientsdetails']['firstname']; ?>
</td></tr>
<tr><td class="fieldlabel">Last Name</td><td class="fieldarea"><?php echo $this->_tpl_vars['clientsdetails']['lastname']; ?>
</td></tr>
<tr><td class="fieldlabel">Company Name</td><td class="fieldarea"><?php echo $this->_tpl_vars['clientsdetails']['companyname']; ?>
</td></tr>
<tr><td class="fieldlabel">Email Address</td><td class="fieldarea"><?php echo $this->_tpl_vars['clientsdetails']['email']; ?>
</td></tr>
<tr><td class="fieldlabel">Address 1</td><td class="fieldarea"><?php echo $this->_tpl_vars['clientsdetails']['address1']; ?>
</td></tr>
<tr><td class="fieldlabel">Address 2</td><td class="fieldarea"><?php echo $this->_tpl_vars['clientsdetails']['address2']; ?>
</td></tr>
<tr><td class="fieldlabel">City</td><td class="fieldarea"><?php echo $this->_tpl_vars['clientsdetails']['city']; ?>
</td></tr>
<tr><td class="fieldlabel">State</td><td class="fieldarea"><?php echo $this->_tpl_vars['clientsdetails']['state']; ?>
</td></tr>
<tr><td class="fieldlabel">Postcode</td><td class="fieldarea"><?php echo $this->_tpl_vars['clientsdetails']['postcode']; ?>
</td></tr>
<tr><td class="fieldlabel">Country</td><td class="fieldarea"><?php echo $this->_tpl_vars['clientsdetails']['country']; ?>
 - <?php echo $this->_tpl_vars['clientsdetails']['countrylong']; ?>
</td></tr>
<tr><td class="fieldlabel">Phone Number</td><td class="fieldarea"><?php echo $this->_tpl_vars['clientsdetails']['phonenumber']; ?>
</td></tr>
</table>

<img src="images/spacer.gif" width="1" height="4" /><br />

<table width="250" class="form">
<tr><td colspan="2" class="fieldarea" style="text-align:center;"><strong>Additional Contacts</strong></td></tr>
<tr><td align="center">
<?php $_from = $this->_tpl_vars['contacts']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['contact']):
?>
<?php echo $this->_tpl_vars['contact']['firstname']; ?>
 <?php echo $this->_tpl_vars['contact']['lastname']; ?>
 - <?php echo $this->_tpl_vars['contact']['email']; ?>
<br />
<?php endforeach; else: ?>
No additional contacts setup
<?php endif; unset($_from); ?>

</td></tr></table>

<img src="images/spacer.gif" width="1" height="4" /><br />

<table width="250" class="form">
<tr><td colspan="2" class="fieldarea" style="text-align:center;"><strong>Other Information</strong></td></tr>
<tr><td width="90" class="fieldlabel">Status</td><td class="fieldarea"><?php echo $this->_tpl_vars['clientsdetails']['status']; ?>
</td></tr>
<tr><td class="fieldlabel">Client Group</td><td class="fieldarea"><?php echo $this->_tpl_vars['clientgroup']['name']; ?>
</td></tr>
<tr><td class="fieldlabel">Tax Exempt</td><td class="fieldarea"><?php echo $this->_tpl_vars['clientsdetails']['taxstatus']; ?>
</td></tr>
<tr><td class="fieldlabel">Signup Date</td><td class="fieldarea"><?php echo $this->_tpl_vars['signupdate']; ?>
</td></tr>
<tr><td class="fieldlabel">Client For</td><td class="fieldarea"><?php echo $this->_tpl_vars['clientfor']; ?>
</td></tr>
<tr><td class="fieldlabel">Last Login</td><td class="fieldarea"><?php echo $this->_tpl_vars['lastlogin']; ?>
</td></tr>
</table>

</td><td width=33% valign=top>

<table width="250" class="form">
<tr><td colspan="2" class="fieldarea" style="text-align:center;"><strong>Client Stats</strong></td></tr>
<tr><td width="125" class="fieldlabel">Invoices Paid</td><td class="fieldarea"><?php echo $this->_tpl_vars['stats']['numpaidinvoices']; ?>
 (<?php echo $this->_tpl_vars['stats']['paidinvoicesamount']; ?>
)</td></tr>
<tr><td class="fieldlabel">Invoices Due</td><td class="fieldarea"><?php echo $this->_tpl_vars['stats']['numdueinvoices']; ?>
 (<?php echo $this->_tpl_vars['stats']['dueinvoicesbalance']; ?>
)</td></tr>
<tr><td class="fieldlabel">Invoices Cancelled</td><td class="fieldarea"><?php echo $this->_tpl_vars['stats']['numcancelledinvoices']; ?>
 (<?php echo $this->_tpl_vars['stats']['cancelledinvoicesamount']; ?>
)</td></tr>
<tr><td class="fieldlabel">Invoices Refunded</td><td class="fieldarea"><?php echo $this->_tpl_vars['stats']['numrefundedinvoices']; ?>
 (<?php echo $this->_tpl_vars['stats']['refundedinvoicesamount']; ?>
)</td></tr>
<tr><td class="fieldlabel">Income</td><td class="fieldarea"><?php echo $this->_tpl_vars['stats']['income']; ?>
</td></tr>
<tr><td class="fieldlabel">Credit Balance</td><td class="fieldarea"><?php echo $this->_tpl_vars['stats']['creditbalance']; ?>
</td></tr>
<tr><td class="fieldlabel">Hosting Accounts</td><td class="fieldarea"><?php echo $this->_tpl_vars['stats']['productsnumactivehosting']; ?>
 (<?php echo $this->_tpl_vars['stats']['productsnumhosting']; ?>
 Total)</td></tr>
<tr><td class="fieldlabel">Reseller Accounts</td><td class="fieldarea"><?php echo $this->_tpl_vars['stats']['productsnumactivereseller']; ?>
 (<?php echo $this->_tpl_vars['stats']['productsnumreseller']; ?>
 Total)</td></tr>
<tr><td class="fieldlabel">Dedicated/VPS Servers</td><td class="fieldarea"><?php echo $this->_tpl_vars['stats']['productsnumactiveservers']; ?>
 (<?php echo $this->_tpl_vars['stats']['productsnumservers']; ?>
 Total)</td></tr>
<tr><td class="fieldlabel">Products/Services</td><td class="fieldarea"><?php echo $this->_tpl_vars['stats']['productsnumactiveother']; ?>
 (<?php echo $this->_tpl_vars['stats']['productsnumother']; ?>
 Total)</td></tr>
<tr><td class="fieldlabel">Domains</td><td class="fieldarea"><?php echo $this->_tpl_vars['stats']['numactivedomains']; ?>
 (<?php echo $this->_tpl_vars['stats']['numdomains']; ?>
 Total)</td></tr>
<tr><td class="fieldlabel">Accepted Quotes</td><td class="fieldarea"><?php echo $this->_tpl_vars['stats']['numacceptedquotes']; ?>
 (<?php echo $this->_tpl_vars['stats']['numquotes']; ?>
 Total)</td></tr>
<tr><td class="fieldlabel">Support Tickets</td><td class="fieldarea"><?php echo $this->_tpl_vars['stats']['numactivetickets']; ?>
 (<?php echo $this->_tpl_vars['stats']['numtickets']; ?>
 Total)</td></tr>
<tr><td class="fieldlabel">Affiliate Signups</td><td class="fieldarea"><?php echo $this->_tpl_vars['stats']['numaffiliatesignups']; ?>
</td></tr>
</table>

<img src="images/spacer.gif" width="1" height="4" /><br />

<table width="100%" class="form">
<tr><td colspan="2" class="fieldarea" style="text-align:center;"><strong>Files</strong></td></tr>
<tr><td align="center">
<div align="left">
<?php $_from = $this->_tpl_vars['files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['file']):
?>
<a href="../dl.php?type=f&id=<?php echo $this->_tpl_vars['file']['id']; ?>
"><img src="../images/file.png" align="absmiddle" vspace="1" border="0" /> <?php echo $this->_tpl_vars['file']['title']; ?>
</a> <?php if ($this->_tpl_vars['file']['adminonly']): ?>(Admin Only)<?php endif; ?> <img src="images/icons/delete.png" align="absmiddle" border="0" onClick="deleteFile('<?php echo $this->_tpl_vars['file']['id']; ?>
')" /><br />
<?php endforeach; else: ?>
<div align="center">No files uploaded</div>
<?php endif; unset($_from); ?>
</div>
<div align="right"><a href="#" id="addfile">Add File <img src="images/icons/add.png" align="absmiddle" border="0" /></a></div>
</td></tr></table>

<div id="addfileform" style="display:none;">
<img src="images/spacer.gif" width="1" height="4" /><br />
<form method="post" action="clientssummary.php?userid=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
&action=uploadfile" enctype="multipart/form-data">
<table width="100%" class="form">
<tr><td colspan="2" class="fieldarea" style="text-align:center;"><strong>Add File</strong></td></tr>
<tr><td width="30" class="fieldlabel">Title</td><td class="fieldarea"><input type="text" name="title" style="width:90%" /></td></tr>
<tr><td class="fieldlabel">File</td><td class="fieldarea"><input type="file" name="uploadfile" style="width:90%" /></td></tr>
<tr><td class="fieldlabel"></td><td class="fieldarea"><input type="checkbox" name="adminonly" value="1" /> Admin Only &nbsp;&nbsp;&nbsp;&nbsp; <input type="submit" value="Add" /></td></tr>
</table>
</form>
</div>

<img src="images/spacer.gif" width="1" height="4" /><br />

<table width="250" class="form">
<tr><td colspan="2" class="fieldarea" style="text-align:center;"><strong>Last 5 Emails</strong></td></tr>
<tr><td>
<?php $_from = $this->_tpl_vars['lastfivemail']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['email']):
?>
<?php echo $this->_tpl_vars['email']['date']; ?>
 - <a href="#" onClick="window.open('clientsemails.php?&displaymessage=true&id=<?php echo $this->_tpl_vars['email']['id']; ?>
','','width=650,height=400,scrollbars=yes');return false"><?php echo $this->_tpl_vars['email']['subject']; ?>
</a><br />
<?php endforeach; else: ?>
<div style='text-align:center;'>No emails sent</div>
<?php endif; unset($_from); ?>
</td></tr></table>

</td><td width=33% valign=top>

<table width="250" class="form">
<tr><td colspan="2" class="fieldarea" style="text-align:center;"><strong>Actions</strong></td></tr>
<tr><td align="center">

<a href="../dologin.php?username=<?php echo ((is_array($_tmp=$this->_tpl_vars['clientsdetails']['email'])) ? $this->_run_mod_handler('urlencode', true, $_tmp) : urlencode($_tmp)); ?>
">Login as Client</a><br /><br />
<?php if ($this->_tpl_vars['clientsdetails']['status'] != 'Closed'): ?><a href="ordersadd.php?userid=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
">Add New Order</a><br />
<a href="quotes.php?action=manage&userid=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
">Create Quote</a><br />
<a href="invoices.php?action=createinvoice&userid=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
">Create Invoice</a><br />
<a href="clientssummary.php?userid=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
&generateinvoices=true">Generate Due Invoices</a><br /><br /><?php endif; ?>
<a href="orders.php?client=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
">View Orders</a><br />
<a href="quotes.php?userid=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
">View Quotes</a><br />
<a href="#" onClick="window.open('clientscredits.php?userid=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
','','width=750,height=350,scrollbars=yes');return false">Manage Credits</a><br />
<a href="clientstransactions.php?userid=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
">View Transactions History</a><br />
<a href="#" onClick="openCCDetails();return false">Manage Credit Card Information</a><br />
<a href="reports.php?report=client_statement&userid=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
">View Account Statement</a><br /><br />
<?php if ($this->_tpl_vars['clientsdetails']['status'] != 'Closed'): ?><a href="supporttickets.php?action=open&userid=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
">Open New Support Ticket</a><br /><?php endif; ?>
<a href="supporttickets.php?view=any&client=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
">View all Support Tickets</a><br /><br />
<?php echo $this->_tpl_vars['afflink']; ?>

<a href="#" onClick="window.open('clientsmerge.php?userid=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
','movewindow','width=500,height=280,top=100,left=100');return false">Merge Clients Accounts</a><br />
<a href="#" onClick="closeClient();return false" style="color:#000000;">Close Clients Account</a><br />
<a href="#" onClick="deleteClient();return false" style="color:#CC0000;">Delete Clients Account</a><br /><br />
</td></tr></table>

<img src="images/spacer.gif" width="1" height="4" /><br />

<table width="250" class="form">
<tr><td colspan="2" class="fieldarea" style="text-align:center;"><strong>Send Email</strong></td></tr>
<tr><td align="center">
<form action="clientsemails.php?userid=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
&action=send&type=general" method="post">
<input type="hidden" name="id" value="<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
">
<?php echo $this->_tpl_vars['messages']; ?>

<input type="submit" value="Send" class="button">
</form>
</td></tr></table>

<img src="images/spacer.gif" width="1" height="4" /><br />

<table width="250" class="form">
<tr><td colspan="2" class="fieldarea" style="text-align:center;"><strong>Admin Notes</strong></td></tr>
<tr><td align="center">
<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>
?userid=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
&action=savenotes">
<textarea name="adminnotes" rows="6" cols="38" /><?php echo $this->_tpl_vars['clientsdetails']['notes']; ?>
</textarea>
<div align="center"><input type="submit" value="Submit" class="button" /></div>
</form>
</td></tr></table>

</td></tr>
<tr><td colspan="3">

<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>
?userid=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
&action=massaction">

<table width="100%" class="form">
<tr><td colspan="2" class="fieldarea" style="text-align:center;"><strong>Products/Services</strong></td></tr>
<tr><td align="center">

<div class="tablebg">
<table class="datatable" width="100%" border="0" cellspacing="1" cellpadding="3">
<tr><th width="20"></th><th>ID</th><th>Product/Service</th><th>Amount</th><th>Billing Cycle</th><th>Signup Date</th><th>Next Due Date</th><th>Status</th><th width="20"></th></tr>
<?php $_from = $this->_tpl_vars['productsummary']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['product']):
?>
<tr><td><input type="checkbox" name="selproducts[]" value="<?php echo $this->_tpl_vars['product']['id']; ?>
" /></td><td><a href="clientshosting.php?userid=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
&hostingid=<?php echo $this->_tpl_vars['product']['id']; ?>
"><?php echo $this->_tpl_vars['product']['idshort']; ?>
</a></td><td style="padding-left:5px;padding-right:5px"><?php echo $this->_tpl_vars['product']['dpackage']; ?>
 - <a href="http://<?php echo $this->_tpl_vars['product']['domain']; ?>
" target="_blank"><?php echo $this->_tpl_vars['product']['domain']; ?>
</a></td><td><?php echo $this->_tpl_vars['product']['amount']; ?>
</td><td><?php echo $this->_tpl_vars['product']['dbillingcycle']; ?>
</td><td><?php echo $this->_tpl_vars['product']['regdate']; ?>
</td><td><?php echo $this->_tpl_vars['product']['nextduedate']; ?>
</td><td><?php echo $this->_tpl_vars['product']['domainstatus']; ?>
</td><td><a href="clientshosting.php?userid=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
&hostingid=<?php echo $this->_tpl_vars['product']['id']; ?>
"><img src="images/edit.gif" width="16" height="16" border="0" alt="Edit"></a></td></tr>
<?php endforeach; else: ?>
<tr><td colspan="9">No Products/Services Found</td></tr>
<?php endif; unset($_from); ?>
</table>
</div>

</td></tr></table>

<img src="images/spacer.gif" width="1" height="4" /><br />

<table width="100%" class="form">
<tr><td colspan="2" class="fieldarea" style="text-align:center;"><strong>Addons</strong></td></tr>
<tr><td align="center">

<div class="tablebg">
<table class="datatable" width="100%" border="0" cellspacing="1" cellpadding="3">
<tr><th width="20"></th><th>ID</th><th>Addon Details</th><th>Amount</th><th>Billing Cycle</th><th>Signup Date</th><th>Next Due Date</th><th>Status</th><th width="20"></th></tr>
<?php $_from = $this->_tpl_vars['addonsummary']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['addon']):
?>
<tr><td><input type="checkbox" name="seladdons[]" value="<?php echo $this->_tpl_vars['addon']['id']; ?>
" /></td><td><a href="clientshosting.php?userid=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
&hostingid=<?php echo $this->_tpl_vars['addon']['hostingid']; ?>
"><?php echo $this->_tpl_vars['addon']['idshort']; ?>
</a></td><td style="padding-left:5px;padding-right:5px"><?php echo $this->_tpl_vars['addon']['addonname']; ?>
<br><?php echo $this->_tpl_vars['addon']['dpackage']; ?>
 - <a href="http://<?php echo $this->_tpl_vars['addon']['domain']; ?>
" target="_blank"><?php echo $this->_tpl_vars['addon']['domain']; ?>
</a></td><td><?php echo $this->_tpl_vars['addon']['amount']; ?>
</td><td><?php echo $this->_tpl_vars['addon']['dbillingcycle']; ?>
</td><td><?php echo $this->_tpl_vars['addon']['regdate']; ?>
</td><td><?php echo $this->_tpl_vars['addon']['nextduedate']; ?>
</td><td><?php echo $this->_tpl_vars['addon']['status']; ?>
</td><td><a href="clientshosting.php?userid=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
&hostingid=<?php echo $this->_tpl_vars['addon']['hostingid']; ?>
"><img src="images/edit.gif" width="16" height="16" border="0" alt="Edit"></a></td></tr>
<?php endforeach; else: ?>
<tr><td colspan="9">No Addons Found</td></tr>
<?php endif; unset($_from); ?>
</table>
</div>

</td></tr></table>

<img src="images/spacer.gif" width="1" height="4" /><br />

<table width="100%" class="form">
<tr><td colspan="2" class="fieldarea" style="text-align:center;"><strong>Domains</strong></td></tr>
<tr><td align="center">

<div class="tablebg">
<table class="datatable" width="100%" border="0" cellspacing="1" cellpadding="3">
<tr><th width="20"></th><th>ID</th><th>Domain</th><th>Registrar</th><th>Reg Date</th><th>Next Due Date</th><th>Expiry Date</th><th>Status</th><th width="20"></th></tr>
<?php $_from = $this->_tpl_vars['domainsummary']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['domain']):
?>
<tr><td><input type="checkbox" name="seldomains[]" value="<?php echo $this->_tpl_vars['domain']['id']; ?>
" /></td><td><a href="clientsdomains.php?userid=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
&domainid=<?php echo $this->_tpl_vars['domain']['id']; ?>
"><?php echo $this->_tpl_vars['domain']['idshort']; ?>
</a></td><td style="padding-left:5px;padding-right:5px"><a href="http://<?php echo $this->_tpl_vars['domain']['domain']; ?>
" target="_blank"><?php echo $this->_tpl_vars['domain']['domain']; ?>
</a></td><td><?php echo $this->_tpl_vars['domain']['registrar']; ?>
</td><td><?php echo $this->_tpl_vars['domain']['registrationdate']; ?>
</td><td><?php echo $this->_tpl_vars['domain']['nextduedate']; ?>
</td><td><?php echo $this->_tpl_vars['domain']['expirydate']; ?>
</td><td><?php echo $this->_tpl_vars['domain']['status']; ?>
</td><td><a href="clientsdomains.php?userid=<?php echo $this->_tpl_vars['clientsdetails']['userid']; ?>
&domainid=<?php echo $this->_tpl_vars['domain']['id']; ?>
"><img src="images/edit.gif" width="16" height="16" border="0" alt="Edit"></a></td></tr>
<?php endforeach; else: ?>
<tr><td colspan="9">No Domains Found</td></tr>
<?php endif; unset($_from); ?>
</table>
</div>

</td></tr></table>

<img src="images/spacer.gif" width="1" height="4" /><br />

<table width="100%" class="form">
<tr><td colspan="2" class="fieldarea" style="text-align:center;"><strong>Current Quotes</strong></td></tr>
<tr><td align="center">

<div class="tablebg">
<table class="datatable" width="100%" border="0" cellspacing="1" cellpadding="3">
<tr><th>ID</th><th>Subject</th><th>Create Date</th><th>Total</th><th>Valid Until Date</th><th>Status</th><th width="20"></th></tr>
<?php $_from = $this->_tpl_vars['quotes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['num'] => $this->_tpl_vars['quote']):
?>
<tr><td><?php echo $this->_tpl_vars['quote']['id']; ?>
</td><td style="padding-left:5px;padding-right:5px"><?php echo $this->_tpl_vars['quote']['subject']; ?>
</td><td><?php echo $this->_tpl_vars['quote']['datecreated']; ?>
</td><td><?php echo $this->_tpl_vars['quote']['total']; ?>
</td><td><?php echo $this->_tpl_vars['quote']['validuntil']; ?>
</td><td><?php echo $this->_tpl_vars['quote']['stage']; ?>
</td><td><a href="quotes.php?action=manage&id=<?php echo $this->_tpl_vars['quote']['id']; ?>
"><img src="images/edit.gif" width="16" height="16" border="0" alt="Edit"></a></td></tr>
<?php endforeach; else: ?>
<tr><td colspan="7">No Quotes Found</td></tr>
<?php endif; unset($_from); ?>
</table>
</div>

</td></tr></table>

<p align="center"><input type="submit" name="inv" value="Invoice Selected Items" class="button" /> <input type="submit" name="del" value="Delete Selected Items" class="button" /></p>

</form>

</td></tr></table>